home *** CD-ROM | disk | FTP | other *** search
- Path: rain.fr!world-net!usenet
- From: Frederic LACHASSE <lachass@worldnet.fr>
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Re: Embedding Binary Data File in .EXE
- Date: Sun, 25 Feb 1996 15:21:35 +0000
- Organization: World-Net information exchange, Internet provider.
- Message-ID: <VA.0000004b.00029e7e@fred>
- References: <312b88d2.13833883@news.uwaterloo.ca>
- Reply-To: lachass@worldnet.fr
- NNTP-Posting-Host: client53.sct.fr
- X-Newsreader: Virtual Access by Ashmount Research Ltd, http://www.ashmount.com
-
- In article <312b88d2.13833883@news.uwaterloo.ca>,
- mrnebelu@undergrad.math.uwaterloo.ca (Mark Nebelung) wrote:
- >
- > I was just wondering on the best way to embed a binary file in an
- > executible.
- >
- > I have an FLI file that I would like to make self-executible. I have
- > all the display routines, but now I just want to know how I can tag on
- > the FLI file to my display executible.
-
- You can just append your data at the end of the .EXE file. That's what
- self extracting archives do. That's also the place debug info are
- placed. That's true for all DOS, Windows and OS/2 EXEs. If your binary
- data has a natural signature, you just have to scan for it (else add
- one).
-
- I hope this'll help.
-
- Frederic LACHASSE (ECP 86)
- CompuServe: 100530,2005
- Internet: lachass@worldnet.fr
-
-